home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / POV-Ray 3.0.2 / Documentation / DOCDEMOS / COLOR.INC < prev    next >
Encoding:
Text File  |  1996-03-24  |  1.1 KB  |  64 lines  |  [TEXT/R*ch]

  1. #global_settings {
  2.   assumed_gamma 2.2
  3. }
  4.  
  5. //#declare Printer = 1
  6.  
  7. #ifdef (Printer)
  8.  
  9.   #background { color rgb<1, 1, 1> }
  10.  
  11. #else
  12.   
  13.   #background { color rgb<0, 1, 1> }
  14.  
  15. #end
  16.  
  17. #declare C_Black       = color rgb<0, 0, 0>
  18.  
  19. #declare C_White       = color rgb<1, 1, 1>
  20.  
  21. #declare C_White_trans = color rgbt<1, 1, 1, 0.7>
  22.  
  23. #declare C_Red         = color rgb<1, 0, 0>
  24.  
  25. #declare C_Green       = color rgb<0, 1, 0>
  26.  
  27. #declare C_Blue        = color rgb<0, 0, 1>
  28.  
  29. #declare C_Yellow      = color rgb<1, 1, 0>
  30.  
  31. #declare T_White = texture {
  32.   pigment { C_White }
  33. }
  34.  
  35. #declare T_White_trans = texture {
  36.   pigment { C_White_trans }
  37. }
  38.  
  39. #declare T_Red = texture {
  40.   pigment { C_Red }
  41.   finish { phong 1 phong_size 100 }
  42. }
  43.  
  44. #declare T_Red_trans = texture {
  45.   pigment { C_Red filter 0.7 }
  46.   finish { phong 1 phong_size 100 }
  47. }
  48.  
  49. #declare T_Green = texture {
  50.   pigment { C_Green }
  51.   finish { phong 1 phong_size 100 }
  52. }
  53.  
  54. #declare T_Green_trans = texture {
  55.   pigment { C_Green filter 0.7 }
  56.   finish { phong 1 phong_size 100 }
  57. }
  58.  
  59. #declare T_Blue = texture {
  60.   pigment { C_Blue }
  61.   finish { phong 1 phong_size 100 }
  62. }
  63.  
  64.